package com.bigShen.jdbc.basic;

import com.bigShen.jdbc.basic.dao.UserDao;
import com.bigShen.jdbc.basic.entity.UserInfo;

import java.util.List;

/**
 * @Author eddy.shen
 * @Date 2018/11/17 10:51
 **/
public class DemoMain {

    public static void main(String[] args) {

        UserDao userDao = new UserDao();
        List<UserInfo> userInfos = userDao.getUserList("方翔");

        for (UserInfo userInfo : userInfos) {
            System.out.println(userInfo);
        }

    }


}
